package com.oepm.biz.impl;

import com.oepm.biz.PermissionBiz;
import com.oepm.dao.entity.MenusPo;
import com.oepm.dao.entity.RolePerPo;
import com.oepm.dao.mapper.PermissionMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service

public class PermissionBizImpl implements PermissionBiz {

    @Resource
    PermissionMapper permissionMapper;
    @Override
    public List<MenusPo> selectMenus(RolePerPo rolePerPo) {
        return permissionMapper.selectMenus(rolePerPo);
    }

    @Override
    public String selectParId(String id) {
        return permissionMapper.selectParId(id);
    }
}
